package com.tinyspring.support;

/**
 * @author: TianYuan
 * @description: Bean定义类
 * @version: 1.0
 */
public class BeanDefinition {

    //bean类型
    private Class<?> beanClass;

    //默认单例
    private String scope = "singleton";

    public BeanDefinition(Class<?> beanClass) {
        this.beanClass = beanClass;
    }

    public Class<?> getBeanClass() {
        return beanClass;
    }

    public void setBeanClass(Class<?> beanClass) {
        this.beanClass = beanClass;
    }

    public String getScope() {
        return scope;
    }

    public void setScope(String scope) {
        this.scope = scope;
    }
}
